-- GENERATED SPELL FOR [Blighted Elk] --


function spell0_26616(pUnit, Event) --@Plague Blight,n/a--
pUnit:FullCastSpellOnTarget(43506,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26616', 30321, 1)
end

function Sorts_26616(pUnit, Event)
local choix_sorts_26616 = math.random(0, 0)
if choix_sorts_26616 == 0 then
pUnit:RegisterEvent('spell0_26616', 1, 1)
end
end

function mob26616_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26616', math.random(1500, 3000), 1)
end

function mob26616_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26616_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26616_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26616, 1, 'mob26616_Action')
RegisterUnitEvent(26616, 2, 'mob26616_Leave')
RegisterUnitEvent(26616, 3, 'mob26616_Kill')
RegisterUnitEvent(26616, 4, 'mob26616_Die')
